Update

Added decimal precision and integrity function.