f-o-a-m / purescript-web3

a purescript library for the web3 api
Apache License 2.0
127 stars 24 forks source link

added formatValue #105

Closed martyall closed 6 years ago

martyall commented 6 years ago

added a function formatValue :: forall a. EtherUnitSpec a => Value a -> String which will print the number passed in when using mkValue

See the updated test for an example of how to use