| |
|
|
 Pedro Santos | |
|
|
|
 Rolf Koch | Hi wegen el Komma. Lo muss una Punkt en a$ ser. Aber simplemente ne zusätzliche caso Abfrage y ya gehts  KompilierenMarcaSeparacióndeclare 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 | Gracias Usted Rolf
Como siempre muy rápidamente
Gruss
Pedro |
|
|
| |
|
|
|
 Clemens Meier | KompilierenMarcaSeparación Wenn uno así rechnen kann, dass siempre otra vez el Komma anstatt des Punktes vorkommt (z.B. wegen uno Inputs), puede ser el Case simplemente weglassen y direkt traducir: KompilierenMarcaSeparación Gibt lo una Komma, se lo ersetzt. Gibt lo kein Komma, passiert nichts. |
|
|
| |
|
|