Hi @Anonymous ,
Do you also want to apply to data which has decimals?
Please try with the following code:
if(contains(string(item()?['OTHours']),'.'),
concat(Concat(
substring(first(split(string(item()?['OTHours']),'.')),0,sub(length(first(split(string(item()?['OTHours']),'.'))),3)),
',',
substring(first(split(string(item()?['OTHours']),'.')),sub(length(first(split(string(item()?['OTHours']),'.'))),3),3))
,'.',
Concat(
substring(last(split(string(item()?['OTHours']),'.')),0,sub(length(last(split(string(item()?['OTHours']),'.'))),3)),
',',
substring(last(split(string(item()?['OTHours']),'.')),sub(length(last(split(string(item()?['OTHours']),'.'))),3),3))
),
concat(Concat(
substring(first(split(string(item()?['OTHours']),'.')),0,sub(length(first(split(string(item()?['OTHours']),'.'))),3)),
',',
substring(first(split(string(item()?['OTHours']),'.')),sub(length(first(split(string(item()?['OTHours']),'.'))),3),3)))
)

Best regards,
Mabel