Skip to content

Commit

Permalink
Merge branch 'main' into LocalizeTupleMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanoo committed Jun 23, 2021
2 parents 4e61dd6 + 5c3b134 commit c580ff5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions readme.md
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 c580ff5

Please sign in to comment.