Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9177835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:25:02+00:00 2026-06-17T17:25:02+00:00

I have a flexgrid cell that is not handling European number formatting how I

  • 0

I have a flexgrid cell that is not handling European number formatting how I want. Some details may be abstracted away from me in the code.

Currently, my control panel “local region” is set to the target location (Danish/Denmark).

I can successfully type in a decimal value, such as 12,36 in Danish format (In US format, of course this is 12.36).

This value is properly handled, and dealt with as it is passed off to SQL and used.

Afterwards, I assume various checks happen underneath, and upon this line

.Redraw = flexRDDirect

Where the grid tries to redraw,
My numbers in this cell undergo some conversion.

An example

If I type in 12,36 I believe somehow the comma is being converted directly to a decimal point, and not properly formatted from Danish to US (or vice versa) with the inplace functions first. Then at some point, the cell is revalidated, and it assumes that this value 12.36 is in danish format still, which is equivalent to one thousand two hundred thirty six (but written poorly, as the thousands separator is in the wrong position).

So now my value of 12,36 (or 12.36 in US), has turned into 12.36 in Danish, which is really 1.236,00(Danish) when properly formatted (thousands separator in right position), which is now 100X my original value of 12,36

So is there something in vb6/flexgrid that is explicitly turning this comma into decimal point, and then attempting the local formatting afterwards (which essentially will multiple my value by 100)? Is there something being called with the .Redraw = flexRDDirect line where I see the values change? I suspect that there is some custom code somewhere that is trying to accommodate local region formatting itself, without using the supplied functions. But maybe not!

All of this is not my area of coding expertise. If there’s more detail required please let me know.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:25:03+00:00Added an answer on June 17, 2026 at 5:25 pm

    I’ve found the issue, and it was as I suspected; something else was trying to convert the numeric value and format it. The procedure at fault was trying to add 0’s and a decimal point to the number. So when VB+region_settings handled it (properly), it was messed up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a flexgrid that I'm forced to use. Thing is that when i
Have a photography site that I want to prevent image copying from. How can
I have a cshtml page that gives these errors: Uncaught ReferenceError: $ is not
I have a jquery flexigrid that I'm dynamically changing so that it displays different
I need to return some data from a web service that looks something like
Have a chat room, issue is, is that when you submit something, the message
have numerous tests working, but my actual test of some objects is failing and
Have not done this before, so obviously I suck at it. Here 64 pixels
Have a problem that seems easy on paper but i'm having a big problem
I have an application that keeps rent periods of a parking lot. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.