[Gambas-user] Round matematical does not work as xpected

PICCORO McKAY Lenz mckaygerhard at ...626...
Fri May 20 03:54:31 CEST 2016


ok ok grr i must use the lasted event the 3.4.2 version..  i'll be back...

2016-05-19 10:12 GMT-04:30, Tobias Boege <taboege at ...626...>:
> On Thu, 19 May 2016, PICCORO McKAY Lenz wrote:
>> using Round as noted in wiki, does not works as spected
>>
>> if i round Round 2.536 must get 2.54 but only got 2.53 if i specify '2
>> (for
>> 2 decimals)
>>
>> why or better, how can i made that i want! (2.536 goest to 2.54)
>>
>> i must work with decimals part only by myselft (i thnk about it)
>>
>
> Can't reproduce:
>
>   $ gbx3 -e 'Round(2.536, -2)'
>   2.54
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


-- 
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com




More information about the User mailing list