Shop OBEX P1 Docs P2 Docs Learn Events
Decimals help — Parallax Forums

Decimals help

ShadowDragonShadowDragon Posts: 51
edited 2005-11-04 16:07 in BASIC Stamp
Hi, what i am doing is using an equation to keep a ratio. When a whole number is run through this equation, it comes out as a decimal. is there any way to round it or in general get rid of the decimal?

Thanks

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I watch how the moon sits in the sky on a dark night,
shining with the light from the sun,
The sun doesn't give light to the moon,
Assuming the moons gonna owe it one,

Comments

Sign In or Register to comment.