[Newbies] How to round a float?
Bert Freudenberg
bert at freudenbergs.de
Wed Feb 18 01:10:43 UTC 2015
On 16.02.2015, at 07:29, Louis LaBrunda <Lou at Keystone-Software.com> wrote:
>
> That's why I thought there was a problem with #roundTo: but maybe #roundTo:
> has some other intent that I'm not aware of?
It's used for snapping values to a grid. E.g. in ScrollBar>>setValue:.
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/beginners/attachments/20150217/b19fc2cc/smime.bin
More information about the Beginners
mailing list