arunspooja

05-10-2006, 04:37 AM

Good Morning friends

While reading math commands i can understand some commands easily but some i'am unable to understand.

In that category i have a problem in "constrainValue",

1) constrainValue 3.0 9.0 1.5 8.0 ; //n=3//

//Result: 7.5//

2) constrainValue 3.0 9.0 1.5 7.0; //n=2//

//Result: 6//

It is stated that it comes from the formula (start+(by*n));

In that i can understand the startvalue is 3.0, by->1.5,

but i dont know how to find the n-value

if any one knows reply

Thank you

While reading math commands i can understand some commands easily but some i'am unable to understand.

In that category i have a problem in "constrainValue",

1) constrainValue 3.0 9.0 1.5 8.0 ; //n=3//

//Result: 7.5//

2) constrainValue 3.0 9.0 1.5 7.0; //n=2//

//Result: 6//

It is stated that it comes from the formula (start+(by*n));

In that i can understand the startvalue is 3.0, by->1.5,

but i dont know how to find the n-value

if any one knows reply

Thank you