Which of the following will display "cost is $23.85", assuming cost = 23.9487.

a.
```
document.write("cost is " + Math.floor(cost));
```
b.
```
document.write("cost is " + cost/100;
```
c.
```
document.write("cost is " + cost.toFixed(2);
```
d. either (a) or (c)


c.
```
document.write("cost is " + cost.toFixed(2);
```

Computer Science & Information Technology

You might also like to view...

MC A______ can be compared to a pile of dishes.

a) queue. b) stack. c) list. d) None of the above.

Computer Science & Information Technology

What is Multiple backgrounds?

What will be an ideal response?

Computer Science & Information Technology

Which Windows 7 Control Panel is used to configure the firewall?

A) Network Connections B) System and Security C) Hardware D) Computer Safety

Computer Science & Information Technology

Browser suffixes are words or abbreviations that are added to a property name and that are specific to one or more browsers or rendering engines. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology