Thread
:
Template: Displaying only non-zero values
View Single Post
03-31-2021, 05:02 AM
#
3
chaley
Grand Sorcerer
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by
ownedbycats
Is this the best way to do it for a composite column?
Code:
program: x = $$#integer; if x !=# 0 then x fi
That works fine, but I would use
Code:
cmp(t = $#myint, 0, t, '', t)
Last edited by chaley; 03-31-2021 at
06:19 AM
. Reason: Fix the template
chaley
View Public Profile
Visit chaley's homepage!
Find More Posts by chaley
Track Posts by chaley via RSS