nerdexam
National_Instruments

CLAD · Question #96

An application has prices stored as numeric values in the format XXX.XX. Your VI must convert the price to text in the format $XXX.XX and make the text price available for later display. Which VI…

The correct answer is D. LabVIEW block diagram: Data In -> Unbundle By Name (Price Numeric) -> Number To Decimal String -> Bundle By Name (Price Text) -> Data Out. You've hit your limit · resets 12:50am (America/New_York)

Data Types and Structures

Question

An application has prices stored as numeric values in the format XXX.XX. Your VI must convert the price to text in the format $XXX.XX and make the text price available for later display. Which VI test models these requirements?

Options

  • ALabVIEW block diagram: Price Numeric -> Unbundle By Name (Price Numeric) -> Number To Fractional String -> Bundle By Name (Price Text)
  • BLabVIEW block diagram: Data In -> Unbundle By Name (Price Numeric) -> Number To Fractional String -> Price Text (constant) -> Bundle By Name (Data Out)
  • CLabVIEW block diagram: Data In -> Unbundle By Name (Price Numeric) -> Number To Fractional String -> Fract/Exp String To Number -> Bundle By Name (Price Numeric) -> Data Out
  • DLabVIEW block diagram: Data In -> Unbundle By Name (Price Numeric) -> Number To Decimal String -> Bundle By Name (Price Text) -> Data Out

How the community answered

(41 responses)
  • A
    7% (3)
  • B
    17% (7)
  • C
    5% (2)
  • D
    71% (29)

Explanation

You've hit your limit · resets 12:50am (America/New_York)

Topics

#number to string#string formatting#cluster unbundle#data type conversion

Community Discussion

No community discussion yet for this question.

Full CLAD Practice