Treat Comma and Period as Decimal Separator in Navision Decimal Fields

Ello

I want to eliminate an error source, often happening in our company. In our country, we use the comma as decimal separator and a valid decimal number looks something like this: 85,32

The problem is, that the users sometimes press the period instead of the comma, because the keys are next to each other on the keyboard and they do not recognize their mistakes. Navision now formats the number entered 85.32 to 8.532,00 what leads to wrong data in our database.

I tried to set the AutoFormatType to 10 and the AutoFormatExpr to something like this <Integer><Point or Comma><Decimals> and I played around with some other values for AutoFormatExpr, but it still does not recognize the period as a valid comma separator. I even tried to format it afterwards at the OnValidate-trigger, but the AutoFormat logics of navision seems to come first and the value is already altered before the OnValidate field triggers gets executed.

I want to setup my page (or a specific decimal field in particular) that, no matter if the user types 85,33 or 85.33, the result should be 85,33.

Mak Sim

Substitution way. Create a field on form(page) with SourceExpr of string type then parse it to whatever you like decimal format and save it to the real field.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Masked EditText with comma as decimal separator

From Dev

seq uses comma as decimal separator

From Dev

How to change decimal comma to decimal period in numpad?

From Dev

Always display two digits after decimal separator navision

From Dev

Format a decimal with comma as decimal separator and without thousands separator

From Dev

Jaxb conversion of number with comma as a decimal separator

From Dev

Why django uses a comma as decimal separator

From Dev

How to make InvariantCulture recognize a comma as a decimal separator?

From Dev

Show comma instead of point as decimal separator

From Dev

NumericUpDown: accept both comma and dot as decimal separator

From Dev

Convert a double to 2 decimal places with comma separator

From Dev

Read txt file with comma decimal separator in MATLAB

From Dev

Parsing numbers with a comma decimal separator in JavaScript

From Dev

Only add thousand separator before decimal comma

From Dev

NumericUpDown: accept both comma and dot as decimal separator

From Dev

Convert a double to 2 decimal places with comma separator

From Dev

Show comma instead of point as decimal separator

From Dev

Read txt file with comma decimal separator in MATLAB

From Dev

bc: decimal separator comma vs. point

From Dev

Add comma separator to a numbers with 2 decimal points

From Dev

Google form regex for numbers with comma as decimal separator

From Dev

jQuery Validation Plugin: validate decimal number with comma as decimal separator

From Dev

Pasting decimal numbers in excel / comma and point decimal separator

From Dev

formatting decimal number to string with comma as decimal separator in racket

From Dev

How to accept both dot and comma as a decimal separator with WTForms?

From Dev

Java NumberFormat isn't respecting comma as decimal separator

From Dev

How to convert floating point decimal separator from dot to comma in Javascript

From Dev

How to change the decimal separator from a comma to a dot in SQL Server

From Dev

How to change decimal separator from comma to fullstop in redshift copy command

Related Related

  1. 1

    Masked EditText with comma as decimal separator

  2. 2

    seq uses comma as decimal separator

  3. 3

    How to change decimal comma to decimal period in numpad?

  4. 4

    Always display two digits after decimal separator navision

  5. 5

    Format a decimal with comma as decimal separator and without thousands separator

  6. 6

    Jaxb conversion of number with comma as a decimal separator

  7. 7

    Why django uses a comma as decimal separator

  8. 8

    How to make InvariantCulture recognize a comma as a decimal separator?

  9. 9

    Show comma instead of point as decimal separator

  10. 10

    NumericUpDown: accept both comma and dot as decimal separator

  11. 11

    Convert a double to 2 decimal places with comma separator

  12. 12

    Read txt file with comma decimal separator in MATLAB

  13. 13

    Parsing numbers with a comma decimal separator in JavaScript

  14. 14

    Only add thousand separator before decimal comma

  15. 15

    NumericUpDown: accept both comma and dot as decimal separator

  16. 16

    Convert a double to 2 decimal places with comma separator

  17. 17

    Show comma instead of point as decimal separator

  18. 18

    Read txt file with comma decimal separator in MATLAB

  19. 19

    bc: decimal separator comma vs. point

  20. 20

    Add comma separator to a numbers with 2 decimal points

  21. 21

    Google form regex for numbers with comma as decimal separator

  22. 22

    jQuery Validation Plugin: validate decimal number with comma as decimal separator

  23. 23

    Pasting decimal numbers in excel / comma and point decimal separator

  24. 24

    formatting decimal number to string with comma as decimal separator in racket

  25. 25

    How to accept both dot and comma as a decimal separator with WTForms?

  26. 26

    Java NumberFormat isn't respecting comma as decimal separator

  27. 27

    How to convert floating point decimal separator from dot to comma in Javascript

  28. 28

    How to change the decimal separator from a comma to a dot in SQL Server

  29. 29

    How to change decimal separator from comma to fullstop in redshift copy command

HotTag

Archive