jmsloan
asked on
Reformating a number
I need to add something to some C code, but I am not efficient in C.
I have a number
12.25-
I would like to remove the minus sign and add it to the front, but all numbers are not negative. So I first need to check and see if a minus sign exists, if it does take it out and put at the front.
Thanks,
jmsloan
I have a number
12.25-
I would like to remove the minus sign and add it to the front, but all numbers are not negative. So I first need to check and see if a minus sign exists, if it does take it out and put at the front.
Thanks,
jmsloan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thats right ... change it to memmove .. thanks cwwkie