Decimal type for JavaScript