Hi all. I have a question for English native speakers. I am working on a library for the HC-SR04 ultrasonic ranging module.
I have functions that return the distance in cm and inch. My question is the following. One of the functions returns a word so the distance is without a decimal, so 2 cm, 5 inch, etc. The other function returns a float so the distance is with a decimal, so 3.5 cm, 5.1 inch. I am looking for a good name for these functions. I now have the following names but I am wondering if there is a better name for them: function hcsr04_get_distance_cm_coarse() return word is function hcsr04_get_distance_inch_coarse() return word is function hcsr04_get_distance_cm_fine() return float is function hcsr04_get_distance_inch_fine() return float is So I am looking for a better name for these functions. Any suggestions? Thanks. Kind regards, Rob -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/655e1cd1-adaf-49d9-b645-9ddcef475248n%40googlegroups.com.
