Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Truncate Float to 2 decimal places

Author
Message
Nieb
9
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 22nd Jun 2016 00:14 Edited at: 22nd Jun 2016 00:16
Does anyone know of a nicer way to do this?

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 22nd Jun 2016 01:31
Seeing as that is purpose built for that operation i think it's probably the best.
You could do something like this (Which keeps it all numeric);
Nieb
9
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 25th Jun 2016 14:46
Suppose we could make a quick function.
Don't know why I hadn't thought of this before.

Login to post a reply

Server time is: 2024-04-19 15:40:57
Your offset time is: 2024-04-19 15:40:57