How can I convert a rem value to an integer?
The code snippet this.props.viewTitleContainerStyle.paddingTop returns a value of 1.00rem in the debugger. The viewTitleContainerStyle is stored as theme.sizes.Measures.Measure100. I need to convert this to an integer for comparison in another expression. Is there any way to achieve this conversion?
I attempted using parseInt but it did not work.