Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: mhw on April 24, 2013, 11:22:33 AM

Title: Math
Post by: mhw on April 24, 2013, 11:22:33 AM
The following expression in a math box is returning 134 to D0:

IF($Now.Hour < 12, ($Now.Hour * 100) + 2400, $Now.Hour * 100)

$Now.Hour is equall to 10. I expected to see 3400 as the result.
Title: Re: Math
Post by: mhw on April 24, 2013, 11:32:01 AM
Never mind, The sim had kicked out of run mode. Math works.