Changes points to commas- and vice versa.
Designed to be used when presenting results of numerical computations in text format.
menu: veeos ==> data ==> Formatting ==> toggleRadix
library: dataLib
toggleRadix("23,45 24,34 89,01") returns "23.45
24.34 89.01" and
toggleRadix("23.45 24.34 89.01") returns "23,45
24,34 89,01"
The world is split between two major groups that use a decimal radix of "," or ".". This function is provided as a quick way to switch between the two when presenting numbers in Text format. Note that strReplace() would also work but it uses loops so this one is faster.
uses comma2point() and point2comma()
VEE7.0+, all platforms
comma2point, point2Comma, strReplace