## -

Aug 1, 2006 at 12:53am

# -

[ sorry! accidental double-post. Bad internet connection. ]

#26996
Aug 1, 2006 at 1:00am

what works is, for example:

flonum – tosymbol – fromsymbol – flonum

#81276
Aug 1, 2006 at 1:23am

I’m sorry, I don’t understand that. Is it supposed to shorten a long line of decimals to a finite number of decimals, e.g. two? It doesn’t do any difference to me on my computer. Try wiggling the left side of the upper flonum so you get lots of decimals…

Thanks for the answer, anyway. Wish it would work.

#81277
Aug 1, 2006 at 3:31am

i was assuming your 24.999991 or what ever that was
was an uncorrected float. if you would make such a number
a symbol it will look like 25. again

#81278
Aug 1, 2006 at 8:57am

#81279
Aug 1, 2006 at 9:12am

did you look at Lround in the Lobjects ?
it allows you to specify how many decimals to round to.

On 1 Aug 2006, at 03:23, Dag Henning Kalv?y wrote:

>
> I’m sorry, I don’t understand that. Is it supposed to shorten a long
> line of decimals to a finite number of decimals, e.g. two? It doesn’t
> do any difference to me on my computer. Try wiggling the left side of
> the upper flonum so you get lots of decimals…
>
> Thanks for the answer, anyway. Wish it would work.
>
>

——————————————-

Joost Rekveld
———– http://www.lumen.nu/rekveld

——————————————-

“The mystery of the world is the visible, not the invisible”
(Oscar Wilde)

——————————————-

#81280
Aug 1, 2006 at 12:13pm

Lround does the trick. Thanks for the tip, you guys are very helpful!

For the record: “Float Display Correction” was always on, I’m sure it would have been worse without it. Lround certainly seems to need it to function properly.

When I’m building an application, will my app “inherit” settings such as Float Display Correction? That option isn’t one of the standalone object’s options.

#81281

You must be logged in to reply to this topic.