Fix compiler warnings
T107 Fix handling of currencies that don’t have scale 2