Humanizr / Humanizer

Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Other
8.67k stars 966 forks source link

int64 support #622

Closed AlexKeySmith closed 8 months ago

AlexKeySmith commented 7 years ago

Hi it would be great to have int64 support for ToWords() to add descriptions to massive numbers.

Keep up the good work!

aloisdg commented 7 years ago

Wiki: Names of large numbers

For example: 9,223,372,036,854,775,807 is nine quintillion, two hundred twenty-three quadrillion, three hundred seventy-two trillion, thirty-six billion, eight hundred fifty-four million, seven hundred seventy-five thousand, eight hundred seven.

A idea could be to convert the big number step by step then call ToWords() when we are small enough.

dnordquist commented 6 years ago

I might be wrong about this, but I see that ToWords() does exist on long, so it seems like this issue can be closed?

SimonCropp commented 8 months ago

@dnordquist thanks for the followup