<HTML>hello,
my name is yann and i am quite new in php programming. i got the following problem: my routine includes quite complicated calculation. the problem is, that the formula starts spitting out the wrong numbers right from the beginning (i.e. the discriminant function)
$dis2= ($d* 0.187)
+($e* 0.096)
+($f* 0.012)
+($g*-0.031)
+($h* 0.586)
+($i*-0.066)
+($j* 0.142)
+($k* 0.241)
+($a* 0.153)
+($b* 0.429)
+($c* 0.907)
+($l*-0.931)
+($m* 0.719)
+($n* 0.383)
+($o*-0.278)
- 5.731;
php swallows the numbers behind the dot. what can i do?
thanx,
yann</HTML>
my name is yann and i am quite new in php programming. i got the following problem: my routine includes quite complicated calculation. the problem is, that the formula starts spitting out the wrong numbers right from the beginning (i.e. the discriminant function)
$dis2= ($d* 0.187)
+($e* 0.096)
+($f* 0.012)
+($g*-0.031)
+($h* 0.586)
+($i*-0.066)
+($j* 0.142)
+($k* 0.241)
+($a* 0.153)
+($b* 0.429)
+($c* 0.907)
+($l*-0.931)
+($m* 0.719)
+($n* 0.383)
+($o*-0.278)
- 5.731;
php swallows the numbers behind the dot. what can i do?
thanx,
yann</HTML>