CheckAndFixDecimal

Replaces the space or comma with a decimal point. This action is used to fix errors where the decimal is not recognized and leaves a blank in that area.

Syntax

bool CheckAndFixDecimal ()

Parameters

None.

Returns

Always True.

Level

Field level.

Details

Replaces the space or , with . to fix errors where the decimal is not recognized and leaves a blank in that area. This action can also be used for conversion for European numbers that use a comma to separate dollars from cents so $100,00 becomes $100.00 or $100 00 becomes $100.00.
Example
CheckAndFixDecimal()
Is_InCharSet("0123456789.,-$")
AllowOnlyChars("0123456789.-")
IsFieldCurrency()