Hello. I am trying to make an advanced airplane model, and it will have similar instruments to the ones on a real life plane. I am right now making the altimeter, but I ran into a roadblock. I have gotten the altimeter to say the part's height, but I cant get it to round. This is a very crucial part to the airplane because once autopilot is put in, it will need to have the altimeter numbers rounded as a whole. (Please note the altimeter's height is recorded through a number value).
Currently, the altimeter works like this: Altitude: 14597.826
How I need it to work: Altitude: 14597
Thanks

1 comment
You could just use math.floor to round it down, or math.ceil to round it up.