#api #github #com-young-ha-kim7-fprice #콤마 #찍어주는 #3자리 #마다

fprice

3자리 마다 콤마 찍어주는 api / https://github.com/YoungHaKim7/fprice

2 releases

0.1.1 Jun 3, 2024
0.1.0 Jun 3, 2024

#152 in Value formatting

MIT license

7KB
108 lines

fprice

financial_price_indication

3자리 숫자마다 콤마(,) 찍어주는 api

Example

let int = 123456778;
let a = fprice::fmt_num_i64_str(int);
println!("{}", a);

Result

 123,456,778

lib.rs:

3자리 숫자마다 콤마(,) 찍어주는 api

Example

let int = 123456778;
let a = fprice::fmt_num_i64_str(int);
println!("{}", a);

Result

123,456,778

No runtime deps