|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
|
|
LinkBack | Thread Tools |
|
|
|||
|
|||
|
How to get 4 digit after dot
hi all and codeguru
sory for my bad english and i'm newbie in programming... i get value from double() function like 1.75673456 and i want get only four digit after dot like 1.7567 how to get that ??? thanks for the answer |
|
|
|||
|
|||
|
Hi Rayie
You can use NormalizeDouble function. double NormalizeDouble( double value, int digits) Rounds floating point number to specified decimal places. Parameters value - Floating point value. digits - Precision format, number of digits after decimal point (0-8). Aki |