Sum to single number | WordPress.org

[ad_1]

Hello, I want to create calculator, which sums your birthday date to single digit. Let’s try with: 1991-12-01

For example:

fieldname12 is 1991

fieldname8 is 12

fieldname11 is 1

so the sum would be:

fieldname12+fieldname8+fieldname11

1991+12+1=2004

But I need that calculator would sum all numbers to single digit:

2+0+0+4 = 6

I tried with digSum, but failed.

Maybe you have some advices how to solve it?

Thanks in advance 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer