I have a variable that I want to convert from a double to a string.
I tried using ltoa and itoa
double cur_payment_amt;
varchar cur_payment_amt_str[10];
ltoa(cur_payment_amt,cur_payment_amt_str,10);
Its stripping off the decimal places. So, 523.25 becomes 523. Any idea guys ?