Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //[[*Price:mpyfs=`1.196`]]
- $output = '';
- if (!empty($input) && is_numeric($input) && !empty($options) && is_numeric($options)) {
- /* Multiply & Round the Float to 2 Digits */
- $output = round($input * $options, 2);
- }
- else
- $output = $input;
- return $output;
- ?>
Add Comment
Please, Sign In to add comment