[messages] [Module General Discussion] Some help with building custom code

Joel Uckelman uckelman at nomic.net
Tue Sep 10 13:26:57 MST 2013


Thus spake capi3101:
> Alright, now it's behaving properly but I'm still getting the error
> message.
> 
> Also, is there a way to tell VASSAL to return the ratio value as a
> single-point decimal, or am I stuck with the integer value?

If you're doing this through BeanShell, you should be able to cast
the dividend or the divisor to a float. 
 
-- 
J.


More information about the messages mailing list