How do you format and output a number with leading zero's?
Answer Posted / mahidhar
syntax:number_format("number","decimal places","string
seperator","string thousands seperator");
Example:number_format('1000',2,'.','')
Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What is the difference between single-quoted and double-quoted strings in php?
How to download file in php?
What does the function get_magic_quotes_gpc() means?
Is php worth learning in 2019?
Is php better than java?
How do I stop a php script?
What is php routing?
Explain what does $_files means?
i m a B.E,passed out few yrs bak failed to find good job due to less marks now thinkin of a career as PHP developer. is it a lucarative field and wat r career prospects; hv heard dat initial salary is very less bout 6k also most jobs r contrct jobs.pls guide me need ur valuable advice.pls hellppp!! thnx..
List some features of php that are deprecated in php7?
Is laravel an oop?
Is php harder than javascript?
Is php a programming language?
How many types of inheritances used in php and how we achieve it.
What is array and function?