What is the correct way to format the decimal 200.1234 as a string to two decimal places?
What is the correct way to format the decimal 200.1234 as a string to two decimal places?
A . 200.1234 as string as format: ".0#"
B . 200.1234 as String {format: ".0#"}
C . 200.1234 as String as format: ".0#"
D . 200.1234 as string {format: ".0#"}
Answer: B
Explanation:
Correct answer is 200.1234 as String {format: ".0#"} . Rest all options are not syntactically correct.
Latest MCPA-Level 1 exam Dumps Valid Version with 58 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments