MrLoick / staff

Automatically exported from code.google.com/p/staff
Apache License 2.0
0 stars 0 forks source link

Need more number of decimal places. #215

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What feature do you need?

I need more number of decimal places to support scientific calculation.

From my test, I got 6 decimal places as follows. If I need more decimal places 
such as 12 decimal places. How can I do?

JSON Result: 
{"ShowResult":{"t1":"3.000000","t2":"3.142857","t3":"3.142857","t4":"3.142857","
x":{"a":"15.000000","b":"25.000000","c":"11.000000"},"y":{"a":"120.000000","b":"
200.000000","c":"88.000000"},"z":{"a":"225.000000","b":"625.000000","c":"121.000
000"}}}

Original issue reported on code.google.com by vacharap...@gmail.com on 18 Aug 2013 at 9:59

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Ok, I will add new metacomment to control floating point precision like that:

// *precision: .12

Value of precision will be in printf format.

Original comment by loentar on 19 Aug 2013 at 6:40

GoogleCodeExporter commented 8 years ago
Many Thanks Loentar

Original comment by vacharap...@gmail.com on 19 Aug 2013 at 7:27

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r804.

Original comment by loentar on 17 Nov 2013 at 12:13