I often have to generate √3 digits so I created this simple online utility that does it for me. It lets you calculate however many square root of 3 (also known as Theodorus constant) digits you need, starting from any position. It works in the browser and is powered by alien technology from the future.
Sqrt(3) Digits Generator Options
Sqrt(3) Digits Generator Examples (click to try!)
How Does This Sqrt(3) Digits Generator Work?
sqrt3Digits string and to get a certain range of values, it calls the
sqrt3Digits.slice(start, start + count) function, where
count are specified in the options and represent the starting digit and the number of digits to return. After slicing the string, it puts this value in the
sqrt3DigitRange variable and converts it into an array by calling the
sqrt3DigitRange.split("") function. In this array, each digit is now a separate element and to print the digits separated by the requested
separator (specified in options), it calls the
join(separator) function that converts the array of digits back to a string with the
separator character between them.
Created by Browserling
This sqrt(3) digits generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by Browserling's programmer tools that are used by millions of people every month. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!
Secret message: If you love my tools, then I love you, too! Use coupon code TOOLLING to get a discount at my company Browserling.