Rash thoughts about .NET, C#, F# and Dynamics NAV.

"Every solution will only lead to new problems."

Tuesday, 20. May 2014

Regression in Dynamics NAV 2013 R2 string formatting

Filed under: Diverses — Steffen Forkmann at 9:43 Uhr

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. ;-(

No Comments »

No comments yet.

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> .