polirom Posted May 2, 2011 Report Share Posted May 2, 2011 That must be modified to recalculate the route number integer without decimals? 123nm = yes 123.2335 = Did not Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 2, 2011 Moderators Report Share Posted May 2, 2011 You can format that with the round function in php Quote Link to comment Share on other sites More sharing options...
polirom Posted May 2, 2011 Author Report Share Posted May 2, 2011 Not is as it is done, I can say in this *.tpl that function? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 2, 2011 Moderators Report Share Posted May 2, 2011 schedule_result.tpl Change from, <strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->registration;?>) <strong>Distance: </strong><?php echo $route->distance . Config::Get('UNITS');?> To, <strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->registration;?>) <strong>Distance: </strong><?php echo round ($route->distance) . Config::Get('UNITS');?> You can also use that on your signature cash as well function is round () Quote Link to comment Share on other sites More sharing options...
polirom Posted May 2, 2011 Author Report Share Posted May 2, 2011 Seguraente explain me evil or not I've coprendido my English is not very good. In the administration panel to recalculate routes, get me the decimals. I want to get out only integers. The decimal no. Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.