I get an error when I try to divide a number by a decimal. I am guessing coz some results are long string of numbers? For example, I tried dividing the image width by 1.45 and it returned an error div .Width 1.45.
execute of template failed at <.Fill>: error calling Fill: strconv.Atoi: parsing "%!d(float64=448.5714285714286)": invalid syntax
Edit: Even 2.0 did not work, but 2 does.
execute of template failed at <.Fill>: error calling Fill: strconv.Atoi: parsing "%!d(float64=314)": invalid syntax
Kindly share an example. This is beyond my knowledge at this point. I just want to standardize my image width and height based on the current image size for single and list pages.