To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI will return true if the input number is palindromic.
Description
A palindromic number is a number which looks the same forward and backwards. For Example: 11, 434, 7269627. This code has three inputs, Number In, Allow Negative Numbers, and Error In. Number In is the number you wish to determine if it is palindromic or not. Allow Negative Numbers is a boolean.
-True means that negative numbers will be considered without the sign.
-False means that the vi will return false if the number is negative.
Its output is true if the number is palindromic and false if it is not.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.