How can I convert to an integer?
Does this work?
$val = intval($total_results->getText());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!