Apple keyboard remap keypad comma to dot? Is there any way to change the key mapping of the apple keyboard?

As programmer I find annoying there's a comma instead a dot in numeric keypad. I would remap this key to have dot ...
The simplest solution is to create the file  DefaultKeyBinding.dict in /Users/[user]/Library/KeyBindings if it does not already exist, and add the remapping:
{
   &quot;#,&quot; = (&quot;insertText:&quot;, &quot;.&quot;);
}

Then logout or restart the mac.
The # indicates the remapping is for the keypad only. More reference for that file: https://gist.github.com/trusktr/1e5e516df4e8032cbc3d