Search found 2 matches

by bv_bv63
Mon Jun 08, 2015 4:33 pm
Forum: Talking LiveCode
Topic: Rounding up a number after a certain value?
Replies: 5
Views: 3730

Re: Rounding up a number after a certain value?

Wow, thank you very much! That is so simple, I am actually really impressed!

I think I've done my homework correctly...

on mouseUp
add 0.1 to field overs
if the field overs contains .6 then
put round(field overs) into field overs
put .0 after field overs
end if
end mouseUp


I added that ...
by bv_bv63
Mon Jun 08, 2015 3:42 pm
Forum: Talking LiveCode
Topic: Rounding up a number after a certain value?
Replies: 5
Views: 3730

Rounding up a number after a certain value?

Hi all, I'm hoping someone can help with something I'm not quite sure about.

I'm pretty new to LiveCode (coming from javascript a long time ago), and need my app to execute a simple rounding up after a certain value. It's to do with cricket, and brief explanation below.

Basically I have a field ...