- Joined
- Apr 13, 2008
- Messages
- 1,608
Hi, I want to stuff reals into multiboards but I don't want to see something like this in my multiboard: "52.76812...."
I want the real to have only one decimal after the "." So it should look like this: 52.7*
I haven't found a function or syntax which does this so I had to solve this with a custom function that multiplies it by ten converts it to integer and does funny things with it.
My first question is: is my custom function necessary or is there a way to do this with default functions/syntaxes?
The other thing is. I haven't found a round function either. I had to make one for that too.
So that's my second question.
I want the real to have only one decimal after the "." So it should look like this: 52.7*
I haven't found a function or syntax which does this so I had to solve this with a custom function that multiplies it by ten converts it to integer and does funny things with it.
My first question is: is my custom function necessary or is there a way to do this with default functions/syntaxes?
The other thing is. I haven't found a round function either. I had to make one for that too.
So that's my second question.