I'm new to php and c programming in general, I'm trying to write a little script that matches the functionality of an existing program I've written in another platform, the problem is I'm using decimal in my original program that are 7.3 7 positions before and 3 behind the decimal. when I use a variable in php it is streching the decimal places way out, now I know this make for a more acurate calculation but they numbers in my original program don't match the php one because of this, how do I tell php that I want a variable to limit to three decimal places?
Thanks,
Brady R. Cole
ATAdvantage, Inc.