ethers-io / ethers.objc

Fast, simple and complete library for Ethereum in Objective-C.
MIT License
157 stars 57 forks source link

Add locale delimiter support for parse/format ether strings. #4

Closed ricmoo closed 7 years ago

ricmoo commented 7 years ago

See https://github.com/ethers-io/ethers.objc/pull/3.

Support "," as well as "." for locale parsing and formatting. Some effort needs to be made to make sure we aren't automatically squelching commas (from committed values).

This needs to be added to ethers.js as well.

ricmoo commented 7 years ago

This will be added to the application layer, instead of the library layer.

The application can (should) know more about the users locale and UI whereas the library should be simple.