── DECIMAL ── ( ──<string expression>── ) ─────────────────────────────┤
The DECIMAL function returns the double-precision value represented by the string expression. The string expression must yield a valid number on evaluation. For more information on the <number> construct, see Language Components.For example, the assignment D := DECIMAL(STR); is valid for the following strings:
STR = "+5497823" STR = "1.75@-46" STR = "-4.31468" STR = "@2" STR = "+549"!!"7823"
However, the program receives a run-time error for the following strings:
STR = "50 00." STR = "1,505,278,00" STR = "1@2.5" STR = ".573"!!"5.82"

