Thread
:
Creating a function?
View Single Post
02-05-2009, 03:55 PM
#
2
(
permalink
)
Salathe
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
You could replace your code above with:
PHP Code:
echo
sprintf
(
'%0.1F'
,
$row
[
'cargo_11'
] /
10
);
Salathe
View Public Profile
Send a private message to Salathe
Visit Salathe's homepage!
Find More Posts by Salathe