Hi,

es gibt in Bascom doch auch die mathematischen Befehl ROUND und MOD. Ich habe sie zwar dort noch nie verwendet, aber:

x = round(zahl / 10) => Zehner-Stelle
zahl - round(zahl / 10)*10 => Einerstelle

oder

x = zahl mod 10 => Einerstelle
(zahl - x) / 10 => Zehnerstelle

Oder?