C#: Kroner og øre fra decimal
decimal pris = (decimal)prisInn; int intPart = (int)pris; int fractionalPart = (int)((pris - intPart) * 100);