CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 decimal numbers rounds up to whole numbers

Print topic Send  topic

Author Message
niiantiaye

Posts: 9
Posted: 03/20/2013, 3:58 PM

Hi , I am a newbie and I need help on this. I have a text field whose data type is integer. When I input a decimal number into it , it is displayed in the report as a whole number , it rounds it up to the nearest whole number . I have tried changing the format and DB format , all to no avail. How do I solve this problem ?
View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 03/20/2013, 10:40 PM

Did you say you have tried datatype float for the text field and database field?
_________________
Central Coast, NSW, Australia.

View profile  Send private message
niiantiaye

Posts: 9
Posted: 03/21/2013, 8:10 AM

I used float and it worked. I was using integer as the data type.Thanks very much
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.