This documentation is archived and is not being maintained.
PBALib::realstr2regrealstr Method [AX 2012]
Converts a string with a real number to another string with the real number formatted with the regional settings
client public static str realstr2regrealstr(str realstring, int _numberOfDecimals)
Run On
Client
Parameters
-
realstring
- Type: str
The string to be converted that contains a real number.
-
_numberOfDecimals
- Type: int
Return Value
Type:
str
A regionally formatted string that contains a real number.
| Exception | Condition |
|
Error
|
The input string is in an incorrect format.
|
The input string must be correctly formatted. This function uses .NET functions to perform the conversion.