Ugh
I can not think an easy and clear way to do this, I think most useful
would be to write small keyword for it with python math [1] library. If
you satisfy to just round it down or up, that is quite easy:
round
${down} Evaluate math.floor((float(2)*float(100))/float(3)) math
${up} Evaluate math.ceil((float(2)*float(100))/float(3)) math
-Tatu
[1]
http://docs.python.org/2/library/math.html
On 26.9.2013 17:07, Will Sehy wrote:
> "| | ${Variable}= | Evaluate | (2*100)/3" is returning 66 rather than
> 67. Is there a way to tell it to round up if the remainder is greater
> than or equal to .5?
> --
> You received this message because you are subscribed to the Google
> Groups "robotframework-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
robotframework-u...@googlegroups.com.
> To post to this group, send email to
>
robotframe...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/robotframework-users.
> For more options, visit
https://groups.google.com/groups/opt_out.