Numerical Conversion from Base12 to Base10 using Strings & Floating point Numbers

I am working on designing a special kind of calculator that can convert a numeric string from base 12 to base 10, and vice-versa. But instead of being simple integers, the strings contains floating point numbers (which contain a decimal points). The closest thing I found is in the following link:

Essentially, I want something like the following example: (4.9)_base10 ---> (4.A97)_base12

The following link is an example of an online Base Converter calculator:

What is the purpose of this calculator? Where is the base12 system used? Or is it purely an educational project?

Purely educational, I saw YouTube video by Smart by Design which talked about the advantages of using a base 12 numeric system over base 10. I'll share the link if anyone wishes to see it:

I wish you success in the project

Decimal always refers to 10. How can you get a decimal point in base 12? IT is not a decimal point at all, but a "marker".

Convert the two segments separately then see if the result needs to be adjusted because of overflow from the right hand portion. Perhaps convert each portion to binary and that to decimal.

Radix Point

So what have you tried?

My thoughts exactly after watching the video

if you want an example see this web site (just add the duodecimal base to the list)

source code (javascript) is GitHub - Skalman/baseconvert: Convert between numerical systems