nerdexam
National_Instruments

200-500 · Question #60

You want to present the following formatted number: "999.000.000,00". Which function call is correct?

The correct answer is C. print number_format(999000000, 2, ',', '.'). See the full explanation below for the reasoning.

Question

You want to present the following formatted number: "999.000.000,00". Which function call is correct?

Options

  • Aprint format_number(999000000);
  • Bprint number_format(999000000);
  • Cprint number_format(999000000, 2, ',', '.');
  • Dprint number_format(999000000, 2);
  • Eprint_number(999000000, 2, ',', '.')

How the community answered

(46 responses)
  • A
    9% (4)
  • C
    83% (38)
  • D
    7% (3)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice