Hi Alex, I see that this: : (format (deg2rad 90.0) *Scl) -> "1.570797" is a way to produce the correct answer with the decimal point displayed. Is this the best way to do it?
Also I'm not sure what causes the difference between: : (deg2rad 90) -> 2 and: : (deg2rad 90.0) -> 1570797 It appears to be related to rounding. Please explain or point me to the correct docs :) Also this can be a point of great confusion for newcomers. So, some extra attention might be needed? TIA, Arie 2018-06-02 19:28 GMT+02:00 Alexander Burger <[email protected]>: > On Sat, Jun 02, 2018 at 07:05:31PM +0200, Arie van Wingerden wrote: > > the results of the functions below do not reflect the common outcomes in > > math AFAICT. > > > > : (deg2rad 90) > > -> 2 > > > > Result 2 where I expected something like 1.5707963268. > > You should try (deg2rad 90.0) :) > ♪♫ Alex > > -- > UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe >
