There is no built in possibility to convert a float to an integer. You have to use an inline_template
inline_template('<%= @someFloat.to_i %>')
Posted by Claus-Theodor Riegg to makandra dev (2016-08-26 12:45)
There is no built in possibility to convert a float to an integer. You have to use an inline_template
inline_template('<%= @someFloat.to_i %>')