| |
|
|
 Pedro Santos | allô Profaner
peux mir s'il te plaît quelqu'un expliquer pourquoi cela pas richtig berechnet wird?
merci
Gruss Pedro KompilierenMarqueSéparation |
|
|
|
|
 Rolf Koch | Hi à cause de dem Komma. Es muss un Punkt dans a$ son. mais simple ne zusätzliche cas Abfrage et déjà gehts  KompilierenMarqueSéparationdeclare a!,a$,total!,b$,b!,b&
@Set("Decimals",2)
cls
b$ = "12"
b& = @val(b$)
a$="0,35"
case instr(",",a$):a$=translate$(a$,",",".")
a!= @val(a$)
total!= a!*b&
print total!
waitinput
| 14.05.2006 ▲ | |
|
|
|
|
 Pedro Santos | merci Dir Rolf
comment toujours très vite
Gruss
Pedro |
|
|
| |
|
|
|
 Clemens Meier | KompilierenMarqueSéparation si on avec cela le calcul peux, dass toujours wieder cela Komma anstatt des Punktes vorkommt (z.B. à cause de eines Inputs), peux on cela Cas simple omettre et direct traduire: KompilierenMarqueSéparation Gibt es un Komma, wird es ersetzt. Gibt es ne...aucune Komma, passiert rien. |
|
|
| |
|
|