Search
Generic filters
Exact matches only
  • printf – Format decimals – numbers

    6th June 2014

    Php - Strings

    php codehaven

    Output : –

    With 2 decimals: 123.00
    With no decimals: 123

    Was this code snippet helpful?

    Comment on this Code Snippet?