OS version information tag

Would it be possible to have a tag that gives back a number, that is watch’s OS version?
eg.:
For Android Wear watch with 1.5.0.3508863, it would give back number 1.503508863, or 1.5.
I specifically ask for a number and not a text in order to use it in math functions.