knadh / dns.toys

A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.
https://www.dns.toys
MIT License
2.48k stars 135 forks source link

Add floating point numbers support to 'convert numbers to words' functionality. #45

Closed sxmawl closed 1 year ago

sxmawl commented 1 year ago

Currently, if someone tries to convert a floating point number into words, the output comes as error: invalid number. People often deal with 12-15 digit floating point numbers which are more than painful to comprehend at a glance, so it might be a good idea to add support for this.

Screenshot:

Screenshot 2022-10-18 at 12 28 54 PM
knadh commented 1 year ago

Makes sense! Would you like to send a PR for this?

sxmawl commented 1 year ago

Yes, sure.