Old school is just awesome sometimes. :) Thanks for that idea, Mike.
~Roger On Tue, Nov 22, 2016 at 9:39 AM, Mike Bonner <[email protected]> wrote: > Actually, .4 I guess. > > On Tue, Nov 22, 2016 at 7:38 AM, Mike Bonner <[email protected]> wrote: > > > Kinda pointless since you can use ceiling, but you could go old school > and > > add .5 to the number, then round to achieve the same affect. > > > > On Tue, Nov 22, 2016 at 7:29 AM, Roger Eller < > [email protected]> > > wrote: > > > >> Thanks, Peter! > >> > >> ~Roger > >> > >> > >> On Tue, Nov 22, 2016 at 9:27 AM, Peter TB Brett < > [email protected] > >> > > >> wrote: > >> > >> > > >> > > >> > On 22/11/2016 14:15, Roger Eller wrote: > >> > > >> >> We have round, which will either round up or down depending on the > >> >> decimal > >> >> value being > or < .5, but what if I want ANY decimal value, even .01 > >> to > >> >> round UP to the next whole number? > >> >> > >> > > >> > You probably want to use "the ceiling of <number>", or "the ceil of > >> > <number>". > >> > > >> > Best regards, > >> > > >> > Peter > >> > > >> > -- > >> > Dr Peter Brett <[email protected]> > >> > LiveCode Technical Project Manager > >> > > >> > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > >> > > >> _______________________________________________ > >> use-livecode mailing list > >> [email protected] > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
