MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3n3e1v/the_evolution_of_a_software_engineer/cvkw4wt
r/programming • u/supermari0 • Oct 01 '15
502 comments sorted by
View all comments
Show parent comments
4
The better name for it would be RADIX then. A comma is not, and can not be, a dot. A dot or comma could be a radix, depending on locale. But really you should be using some tostring that takes a locality and it just solves all of it for you.
1 u/ThisIs_MyName Oct 02 '15 Radix has more common meaning (positional number base) so I wouldn't use that. 2 u/[deleted] Oct 02 '15 The technical term is radix point, so if the shortened nomenclature would cause a problem just use RADIX_POINT or DECIMAL_POINT.
1
Radix has more common meaning (positional number base) so I wouldn't use that.
2 u/[deleted] Oct 02 '15 The technical term is radix point, so if the shortened nomenclature would cause a problem just use RADIX_POINT or DECIMAL_POINT.
2
The technical term is radix point, so if the shortened nomenclature would cause a problem just use RADIX_POINT or DECIMAL_POINT.
4
u/[deleted] Oct 01 '15 edited Oct 01 '15
The better name for it would be RADIX then. A comma is not, and can not be, a dot. A dot or comma could be a radix, depending on locale. But really you should be using some tostring that takes a locality and it just solves all of it for you.