2008 Oct 31 11:53 AM
Hi,
I have a data :
data:quantite_typeI type I.
data:quantite_typeC type string.
i have a data : var_remise1 type ZKBETR.
but when i'm doing this code to change : var_remise1 to a strin :
quantite_typeC = var_remise1.
quantite_typeI = quantite_typeC.
When i have var_remise1 = -0.25 ( value < 1 ) i have quantite_typeC = 0 and quantite_typeI = 0.
when i have var_remise1 = -1 or -2... that's work.
I don't understand why i have a problem with value <1.
Thanks for your reply.
2008 Oct 31 11:59 AM
ähm well type i means ONLY full numbers, no decimals.
declare quantite_typeI of type p or f then all will work.
ähm well type i means ONLY full numbers, no decimals.
declare quantite_typeI of type p or f then all will work.
2008 Oct 31 11:58 AM
Oh sorry, a mistake.
quantite_typeC = var_remise1. ---> ook i have 0.25-
quantite_typeI = quantite_typeC. -
error i have 0
quantite_typeC = quantite_typeI.----> error i have 0 and not 0.25-
2008 Oct 31 11:59 AM
ähm well type i means ONLY full numbers, no decimals.
declare quantite_typeI of type p or f then all will work.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |