Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Number format
  FAQ FAQ  Forum Search   Register Register  Login Login

Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Number format

 Post Reply Post Reply
Robert1977 View Drop Down
New Member
New Member

Joined: 05 Mar 2015
Location: Polska
Points: 21
Post Options Post Options   Quote Robert1977 Quote  Post ReplyReply Direct Link To This Post Topic: Number format
    Posted: 12 Oct 2018 at 10:23pm

A would like to set this kind of format in number field: 
1 221,00  
1 546 684,54
154,00 etc.

I know one way:

event.value = util.printf("%,2.2f",event.value).toString().replace(/\./gim," ");

BUT if number field is empty, it shows "0,00". I don't want to see "0,00" in empty number fields, just nothing. Could anybody help ?


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.047 seconds.