To hopefully answer both of your problems, try the following modification.
- instead of rounding, we will multiply by 100
- convert result to integer type
- integerPart = result/100
- decimalPart = result mod 100
With regard to the error, as a first step set a type transformation to decimal number using locale, and be sure the locale you pick is one that uses the comma as the decimal.
Here is code for my locale "en-US":
let
Source = Excel.CurrentWorkbook(){[Name="Table3"]}[Content],
#"Changed Type with Locale" = Table.TransformColumnTypes(Source, {{"Column1", type number}}, "en-US"),
#"Multiplied Column" = Table.TransformColumns(#"Changed Type with Locale", {{"Column1", each _ * 100, type number}}),
#"Changed Type" = Table.TransformColumnTypes(#"Multiplied Column",{{"Column1", Int64.Type}}),
#"Inserted Integer-Division" = Table.AddColumn(#"Changed Type", "integerPart", each Number.IntegerDivide([Column1], 100), Int64.Type),
#"Inserted Modulo" = Table.AddColumn(#"Inserted Integer-Division", "decimalPart", each Number.Mod([Column1], 100), Int64.Type),
#"Removed Columns" = Table.RemoveColumns(#"Inserted Modulo",{"Column1"})
in
#"Removed Columns"