Custom formatting strings can be configured for given source types:

// Map DateTimes to string as '<month name> <year>'
    .StringsFrom<DateTime>(_ => _.UseFormat("y"));

// Map decimals to strings as currency (inline example):
    .Map(productDto).ToANew<Product>(cfg => cfg
        .StringsFrom<decimal>(_ => _.UseFormat("c")));

Formatting strings supplied using Mapper.WhenMapping will be applied to all mappings performed by the configured mapper. If an invalid formatting string is supplied an exception may occur during mapping.