Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Round down"
#5
Do it like the executable file does it - store both in a class. When you need the float version, call the float version. In your setter, set the float and the rounded version. Then wherever you need the variables, fetch the rounded or the float version as needed.
Reply


Messages In This Thread
"Round down" - by RADRaze2KX - 2010-08-24, 04:23 PM
"Round down" - by Hazzy - 2010-08-24, 04:31 PM
"Round down" - by Fiel - 2010-08-24, 05:47 PM
"Round down" - by RADRaze2KX - 2010-08-24, 06:00 PM
"Round down" - by Fiel - 2010-08-24, 06:36 PM
"Round down" - by RADRaze2KX - 2010-08-24, 09:42 PM
"Round down" - by Lord Xela - 2010-08-24, 10:30 PM
"Round down" - by Fiel - 2010-08-24, 10:49 PM
"Round down" - by RADRaze2KX - 2010-08-25, 04:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)