CodeBase - Floating point number to text with x decimal points

Return to the CodeBase listing

Category: Text

Version: 1.0

0
0

Information

Uploaded: 30th Nov 2008 10:09

Modified: 1st Jan 1970 01:00

Author:  EdzUp

Summary

A function that will take a floating point value and return a string equivalent to x decimal points.

Full Description

A function that will take a floating point value and return a string equivalent to x decimal points. Basically if you use it with say 85963.99934343 and two decimal points it will return 85963.99.<br /> <br /> This can be handy when you want to display things like distances to an object that is a float.

Comments

No comments yet.