point2comma(a)

Replaces points with commas.


Syntax

o_point2comma(a)
a: scalar Text - numbers as input string
return: Text -  string with "." replaced by ","

Usage

Designed to be used when presenting results of numerical computations in text format.

Location

menu: not included in menu

library: dataLib

Example

o_comma2point("23.45   24.34   89.01") returns "23,45   24,34   89,01"

Notes

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.

Reference

Dependencies

Supported On

VEE7.0+, all platforms

See Also

comma2point, strReplacetoggleRadix


© 2015. All Rights Reserved.  Stan Bischof (stan@worldbadminton.com). Last updated 04 November 2015 11:30. © 2015.