Putting an 'L' at the end of a literal gives different resultHi I have the following code: [code] long double num1 = 10210.730; long double num2 = 10...

Counting decimal placeswell, i'm trying to write a function which converts floats to strings...which is what stringstream d...

Counting decimal placesthanks but I'm trying to implement it from scratch

Counting decimal placesok, can you recommend another approach to how I can count the number of decimal places in a digit?

Counting decimal placesHi I've written the following code to try to count how many decimal places there are in a floatin...

This user does not accept Private Messages