Global::str2numPrep Method [AX 2012]

Performs string pre-processing to soften requirements for the input string to be convertable to numeral.

client server private static TempStr str2numPrep(TempStr _text)

Run On

Called

Parameters

_text
Type: TempStr Extended Data Type
Text representation of a number.

Return Value

Type: TempStr Extended Data Type
String that has first occurence of comma (if any) replaced with dot.

Assumption is that valuable result should be produced if _text represents a number with comma or dot as a decimal separator.

Show: