Welcome, Guest. Please Login
IMPORTANT MESSAGE! This forum has now been replaced by a new forum at http://forum.eastgate.com and no further posting or member registration is allowed. The forum is still accessible via read-only access for reference purposes. If you wish to discuss content here, please use the new forum. N.B. - posting in the new forum requires a fresh registration in the new forum (sorry - member data can't be ported).
Pages: 1
Send Topic Print
Rounding $WordCount to integer in container table (Read 1440 times)
Full Member

Posts: 2
Adelaide, Australia
Rounding $WordCount to integer in container table
Jul 23rd, 2014, 12:51am
I haven't had much success in rounding the $WordCount of a note to an integer in the summary table of a container.  

  • round($WordCount) gives 2 decimal places
  • appending .format(0) or precision(0) don't work either
  • .format(n) and .precision(n) work as expected for n>0

Odd.  Maybe I'm doing something wrong.
Back to top
  IP Logged
Mark Anderson
YaBB Administrator

User - not staff!

Posts: 5689
Southsea, UK
Re: Rounding $WordCount to integer in container table
Reply #1 - Jul 23rd, 2014, 4:42am
Testing, this is a bug - which I've reported.
Back to top

Mark Anderson
TB user and Wiki Gardener
aTbRef v6
(TB consulting - email me)
WWW shoantel   IP Logged
Pages: 1
Send Topic Print