Helpers\Number

This helper has 2 methods for converting a number format and to get a percentage.

Number::format($number, $prefix = '4')

Converts a given number to start with a prefix, useful to making sure mobile numbers start with a 0 only when they don't start with 0

Number::percentage($val1, $val2)

Get a percentage from the 2 given numbers.

相关文章:

  • 2022-02-02
  • 2021-12-23
  • 2021-06-05
  • 2021-08-20
  • 2021-08-01
  • 2021-07-27
  • 2021-05-19
  • 2021-08-25
猜你喜欢
  • 2021-12-07
  • 2022-02-01
  • 2021-09-13
  • 2021-07-28
  • 2021-10-25
  • 2021-10-08
  • 2021-07-20
相关资源
相似解决方案