0

Error in sum of Persian numbers with %,d format

I use %,d to thousand separator for my numbers, But when run program, my numbers showed as persian number and can not sum numbers. I use replace.all(“,”, “”) but it does not work.

22nd Sep 2019, 7:10 PM
hamid
hamid - avatar
2 Respuestas
0
use: string.format(Locale.us, “%,d”, object); just this
22nd Sep 2019, 7:36 PM
hamid
hamid - avatar