10 Reputation

3 Badges

2 years, 49 days

MaplePrimes Activity


These are questions asked by

Hi, i'm new on this site. I want to know how to set an output un-scientific number but we can set the number of digit "after comma" as we want? 

The best i can do is using this:

printf("%f\n",something)

So, for example i want to calculate 

123456789/123

It gives me:

1003713.732000 (only gives 6 digits after comma)

I don't want the output looks like this:

But, for example i want the result has 9 digits after comma and gives me:

1003713.731707317

How to do this? Please help me. Thanks.

Page 1 of 1