Does anyone know why `<#if record.total != reco...
# advancedpdf
m
Does anyone know why
<#if record.total != record.amountremaining>
results in ‘Can’t compare values of these types’? The record browser says these are both ‘currency’ type?
n
don't know but have you tried displaying both values to check that say, one doesn't have a rogue symbol in it or something daft (i,e, $)
m
When displaying them both, they appear the same, showing symbols and separators. I was able to work around this by calling the
to_number()
function that we have in our template.
👍 1