Advertisement

01.30.2008 at 01:00AM PST, ID: 23122126
[x]
Attachment Details

mysql select  limit only integer

Asked by teera in SQL Query Syntax, MySQL

balanceborow.amout*.02 AS Interrest    the out put is   800.2000  or 450.0200    how can  I set the out put is interger    800.20 should be 801   or 450.0200 should be  451


SELECT balanceborow.wid, balanceborow.wname, balanceborow.amout,  balanceborow.amout*.02 AS Interrest, balanceborow.DateBalance, balanceborow.amout
FROM balanceborow
WHERE balanceborow.wid =' $AccNo'Start Free Trial
[+][-]01.30.2008 at 01:05AM PST, ID: 20775632

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SQL Query Syntax, MySQL
Sign Up Now!
Solution Provided By: asvforce
Participating Experts: 2
Solution Grade: A
 
 
[+][-]01.30.2008 at 01:10AM PST, ID: 20775661

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628