insert a record with value 0.1, 0.2 and when any flag changed it should start with 1.0,1.1.. and so on

By Ankit Bhatt

I have a requirement as while creating initial quote, the number should start with 0.1 and after that each number is added by +1 (i.e. 0.2) and so on…

in between if any flag changed then the number should start with 1.0, 1.1.. and so on…

How can I implement this? Please suggest.

Thanks.

Source: Stack Overflow

    

Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273