Add support for decimals with the SliceMap() interface

When `SliceMap()` was introduced there was no support for decimals - this patch retrofits that.