# point2comma(a)

Replaces points with commas.

Function only- no corresponding object

### 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: no menu pick - to access use the Function and Object browser

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, strReplace, toggleRadix

© 2015-2021. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 09 August 2021 18:24.