We are still porting one of our products from Dynamics NAV 2009 R2 (Classic Client) to NAV 2013 R2 and found another strange issue:
On Dynamics NAV 2009 R2 Classic client (Build 6.00.33494):
FORMAT(13.5671,0,'<Integer,4>'); ==> 0013,5671 FORMAT(13.5671,0,'<Precision,0:0><Integer,4>'); ==> 0014
But on Dynamics NAV 2013 R2 (Build 7.10.36281) we get:
FORMAT(13.5671,0,'<Integer,4>'); ==> 0013,5671 FORMAT(13.5671,0,'<Precision,0:0><Integer,4>'); ==> 0013
Not sure if it is that important for practical purposes, but it’s breaking some of our unit tests. ;-(