Hi All,

We are evaluating Elixir for a business critical application
Dealing with decimal types is a must.

from https://github.com/ericmj/decimal

iex> alias Decimal, as: D
nil
iex> D.add(D.new(6), D.new(7))
#Decimal<13>
iex> D.div(D.new(1), D.new(3))
#Decimal<0.333333333>


however seeing similar code as above is quite disappointing

being able to write something like below would be more readable and 
straightforward:

6.75d + 7.293d

6.75d / 3.2d

("d" postfix would differentiate decimal number from float numbers)

we think, having such/similar syntax in-place would be greatly appreciated, 

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/85018f93-bf87-4d80-99da-e608318f25eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to