zt4viJXw1I.txt

Download Raw Light mode


(bocore@bocore.test.ghcg.com)3> A = decimal_conv:number("1").
{0,1,0}
(bocore@bocore.test.ghcg.com)4> B = decimal_conv:number("0.85").
{0,85,-2}
(bocore@bocore.test.ghcg.com)5> decimal:divide(A,B).
{0,117647058,-8}
(bocore@bocore.test.ghcg.com)6> decimal:multiply(decimal:divide(A,B),B).
{0,999999993,-9}
(bocore@bocore.test.ghcg.com)7> decimal:divide(A,B,[{precision, 100}]). 
{0,
 1176470588235294117647058823529411764705882352941176470588235294117647058823529411764705882352941176,
 -99}