This solution from @Jxa13 is good but we need to know every locale which have dot in decimalPad or comma in order to make code work properly for everyone. If I find something with this case I'll post this here
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: