alanford Posted April 4, 2013 Share Posted April 4, 2013 I have a field (AEU_D) that I need to add a value of 2 until to reach the number of 100.000. I can do this by excel but I would like to have a rule in FP for it, is there somebody can help me on this easy issue? Many thanks in advance, __________________ Angelo P. FP 7 Windows XP Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted April 4, 2013 Share Posted April 4, 2013 I'm not sure I understand what you mean by, "add a value of 2 until to reach the number of 100.000." If you just want to add to the value in an existing field, you can do something like this: var NumericVal = StringToNumber(Field("AEU_D").replace(/[^\d\.\-]/g,'')); return FormatNumber("$#,###.00", NumericVal + 2); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.