post #11 of 11
Quote:
Originally Posted by adridu59 View Post

Quote:
Originally Posted by RAND0M1ZER View Post

That should work for you, the problem was you need to use %lf for doubles (long float), %f is for float.

Noticed that too but what I didn't understand is why "%.2lf" and not just "%lf".

%.2lf should also work. The only difference is the number of decimal places that are displayed. If you don't specify like with %lf, it will display all the decimal places.
    
CPUMotherboardGraphicsRAM
Intel Core i7 5820K EVGA X99 Micro2 EVGA GTX 980 32GB DDR4-2400 
Hard DriveOSMonitorPower
Samsung 850 Pro Windows 10 x64 Pro Qnix 1440p EVGA 850W Gold 
Case
CaseLabs Mercury S5 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Intel Core i7 5820K EVGA X99 Micro2 EVGA GTX 980 32GB DDR4-2400 
Hard DriveOSMonitorPower
Samsung 850 Pro Windows 10 x64 Pro Qnix 1440p EVGA 850W Gold 
Case
CaseLabs Mercury S5 
  hide details  
Reply