Connecting Tech Pros Worldwide Forums | Help | Site Map

count between two values

Member
 
Join Date: Oct 2007
Posts: 107
#1: Aug 21 '09
Hi everybody,

i have selected varchar type of data for numeric values its in decimal values if i convert them to int using (int) its rounding off the decimal values. please tell me how i can covert that varchar values into decimal numeric values. because i have to count the values accordingly. thanx

Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,652
#2: Aug 21 '09

re: count between two values


do you mean using (float) instead of (int)?
dheerajjoshim's Avatar
Needs Regular Fix
 
Join Date: Jul 2009
Location: Bangalore, INDIA
Posts: 263
#3: Aug 21 '09

re: count between two values


I think... As dormlich told...

(int) can be converted to (float)

If not.... Please give more details about your problem..

Regards
Dheeraj Joshi
Reply