Title: LOGAB issue
Last modified: April 22, 2022

---

# LOGAB issue

 *  Resolved [robipears](https://wordpress.org/support/users/robipears/)
 * (@robipears)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/logab-issue/)
 * Hi folk,
 * I would need to integrate this formula in your plugin, but no chance to make 
   this working… I understand that the 10LOG is the LOGAB base 10 but even:
 * 8/(10LOG((fieldname2-85)/10))
 * Then another issue is with the DECIMALTOTIME I would like to display the result
   of this above formula in H:M:S
 * Thanks in advance
    Robi

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/logab-issue/#post-15581839)
 * Hello [@robipears](https://wordpress.org/support/users/robipears/)
 * Thank you very much for using our plugin,
 * The equation would be:
 * `8/LOGAB((fieldname2-85)/10, 10)`
 * The DECIMALTOTIME operation requires three parameters, the decimal value, a letter
   that indicates the measurement unit of the entry, and the output format, like:
 * `DECIMALTOTIME(170, 's', 'h:i:s')` returns 0:2:50 because 170 seconds are 0 hours,
   2 minutes, and 50 seconds
 * but
 * `DECIMALTOTIME(170, 'i', 'h:i:s')` returns 2:50:0 because 170 minutes are 2 hours,
   50 minutes.
 * Best regards.
 *  Thread Starter [robipears](https://wordpress.org/support/users/robipears/)
 * (@robipears)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/logab-issue/#post-15581849)
 * Thanks a lot for your quick reply appreciate. What about Exponentiation?
 * 8/(10LOG((fieldname2-85)/10)) -> replace LOG by 8/Exponentition?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/logab-issue/#post-15581867)
 * Hello [@robipears](https://wordpress.org/support/users/robipears/)
 * I’m sorry, I don’t understand your last question. In our plugin, the exponentiation
   is represented by the POW operation. POW(A, B) is equivalent to A^B
 * For example:
 * `POW(10, 2)` is equal to 100
 * Best regards.
 *  Thread Starter [robipears](https://wordpress.org/support/users/robipears/)
 * (@robipears)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/logab-issue/#post-15581886)
 * Great POW function works fine 🙂 thanks for your kind support!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘LOGAB issue’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [robipears](https://wordpress.org/support/users/robipears/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/logab-issue/#post-15581886)
 * Status: resolved