Sphinx SD Tools
Welcome, Guest
Please Login or Register.    Lost Password?
Correct use of power operator in formulas (1 viewing) (1) Guest
Help
Go to bottom Post Reply Favoured: 0
TOPIC: Correct use of power operator in formulas
#29
widware (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Correct use of power operator in formulas 6 Years, 3 Months ago Karma: 0  
I get an error message when I run a simulation containing a formula with the power operator "^." The message I get is "Errors occurred during execution model:java.lang.Double cannot be cast to java.lang.Integer." I'm not familiar with java but this appears to be some sort of variable type mismatch. So how do I correctly use the "^"operator? The specific formula that I'm using in a flow is

.615*(260.0/CO2_level)^.35
 
Report to moderator   Logged Logged  
 
Last Edit: 2011/01/16 04:14 By widware.
  The administrator has disabled public write access.
Go to top Post Reply

get the latest posts directly to your desktop