Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8538453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:07:22+00:00 2026-06-11T11:07:22+00:00

I am getting Warning: number_format() expects parameter 1 to be double error on my

  • 0

I am getting Warning: number_format() expects parameter 1 to be double error on my code

$tbl->addRow();
$tbl->addCell($name);
$tbl->addCell('$' . number_format(doubleval($price), 2,',', ' ') );

I know the $price is a value 15,00 which is a number. How could it be fixed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:07:23+00:00Added an answer on June 11, 2026 at 11:07 am

    It’s possible doubleval() is returning some sort of error because the number “15,00” is in european format instead of the standard. Have you tried using “15.00” instead?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The warning I'm getting is: Warning: mysqli_result::fetch_array() expects parameter 1 to be long, object
I'm getting this error: transform.c:23: warning: ‘struct user_data_s’ declared inside parameter list transform.c:23: warning:
I keep getting 'warning: control reaches end of non-void function' with this code: -
I'm getting this odd error in the preg_match() function: Warning: preg_match(): Compilation failed: range
I'm getting the following error message: Warning: Missing argument 7 for slider_getinfo_by_term(), called in
I am getting a mysqli warning in my error report stating Warning: mysqli_stmt::bind_result() [mysqli-stmt.bind-result]:
This is the error that I am getting while using mysql_num_rows() function Error: Warning:
I'm getting the following error in display.php **Warning: Invalid argument supplied for foreach(). I
Getting an error with my code found HERE ... Which is a culmination of
When I am running this program I am getting warning array subscript has type

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.