Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
spyroskatsios authored Jun 23, 2021
2 parents ce0a3bf + 5c3b134 commit f248dd4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -902,10 +902,6 @@ Humanizer can change numbers to Metric numerals using the `ToMetric` extension.
Also the reverse operation using the `FromMetric` extension.

```C#
1d.ToMetric() => "1"
1230d.ToMetric() => "1.23k"
0.1d.ToMetric() => "100m"

"1".FromMetric() => 1
"1.23k".FromMetric() => 1230
"100m".FromMetric() => 0.1
Expand Down

0 comments on commit f248dd4

Please sign in to comment.