## Number Utility Snippets

13 July, 2013

C programming code to check whether a number is armstrong or not.

16 November, 2013

You can use this function when you correct a iban number in your commercial projects.

04 December, 2011

Example of If Statement in python

28 April, 2011

Over the years I have made quite a few software programs in Delphi, and inevitably I have also come up with many useful functions. Most of them I have never published on the Internet before, now I would like to list on blog. Part 1 are functions for managing integer or real numbers, they were written very early in 1997.

C++ code example to find out the sum of given number

Get number of paragraphs in column 2 and display that number in an alert box. Including the one in the red box.

Portable code to count the number of bits

Example for using thousand separator (,) for decimal integer numbers

This example code calculates the ratio between the X and Y columns of the RATIO table.

Example for using thousand separator (,) for decimal integer numbers

04 March, 2012

Use the switch statement to select one of many blocks of code to be executed.

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

19 November, 2013

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

Function of an integer raised in a power * and the calculation of the sum of a series of integers

26 February, 2011

Here shown how to highlight syntax

Function of an integer raised in a power * and the calculation of the sum of a series of integers (1^e+2^e....+n^e) raised in a power.

01 November, 2015

Returns a random number.

05 November, 2012

The following example converts a binary value to a number