View Full Version : calculation
lerameur
- 20th May 2008, 13:38
Hi
is it possible to keep the top two digit in a number:
I have
trial=512*17
equals to 8807
I would like to keep the 88 ans discard the rest.
thanks
k
skimask
- 20th May 2008, 13:45
trial=512*17
equals to 8807
I would like to keep the 88 ans discard the rest.
trial = trial / 100 to keep the 88
trial = ( trial / 100 ) * 100 to keep the 8800. /100 loses the 07, *100 brings it back up again.
lerameur
- 20th May 2008, 13:53
why didnt I think of that...
merci
mister_e
- 20th May 2008, 16:28
Maudite boisson :D
Slaque la dose, ou change de sorte :D
Powered by vBulletin® Version 4.1.7 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.