fprice2 0.1.1

3자리 마다 콤마 찍어주는 api
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 9.29 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.11 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • YoungHaKim7/fprice2
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • YoungHaKim7

fprice

financial_price_indication

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

Example

let mut price_comma = PriceComma::new(0, "".to_string()) ;
price_comma.push(11111178);
println!("{}", price_comma.fmt_number();

Result

 (fn new)i32 Formatted number: 11,111,178
fn fmt_number(&self) -> String;
fn big_num_i64_str(&self) -> String;
fn fmt_num_f64_str(&self) -> String;
fn fmt_num_str(&self) -> String;