Example Code

Multiply Large Numbers

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
This code stores two large numbers in strings and multiplies them together.


Description
This example can multiply two integers of arbitrary values.  It does so by going through each number digit by digit and multiplying them how you would on paper.

 


Requirements

  • LabVIEW 2013(or compatible)


Steps to Implement or Execute Code

 

  1. Download the file.
  2. Enter your numbers and run it.
  3. It also functions just fine as a SubVI

 

Additional Information or References
VI Block Diagram

 1.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

 

 

 

-Jim B
Applications Engineer, National Instruments
CLD, CTD

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.