echo round(S/N*100); -- Louis Solomon www.SteelBytes.com ""Zach Korpi"" <zkorpi@xxxxxxx> wrote in message news:200506232012.j5NKCm4R059859@xxxxxxxxxxxxxxxx > Hi PHP List Members, > > > > I work for Northern Michigan University. Currently I am a student > studying > accounting. In any case, I'm developing a survey for the Auxiliary > service > department. > > > > My Problem: > > > > The idea goes like this. > > > > S= total people satisfied with dining services > > N= total number of respondents > > > > S / N = some number less than one (eg., .87) > > > > I would like to use a function to alter that decimal number to a > percentage. > However I haven't had much luck. If you could please help, I'd be very > relieved and appreciative for your services! I've tried the printf > function > but haven't had much luck. > > > > Thank You Much! > > Zach Korpi > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php