Displaying tenths of a turn with ssd1306

Hello all. I'm building a simple turns counter that uses an interrupt and displays the results to a small ssd1306 oled display. I read one of the hall sensors and it works out to 72 pulses per rev. Multiply that by 5 and you get 360, a nice number to work with.

What has me stumped is how to display tenths of a turn. It seems like all I have to do is shift the decimal point of the variable. One rev shows 10.0 on the display. Anyhow here is my code

#define LED_PIN 9
#define BUTTON_PIN 3
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <Fonts/FreeMonoBold18pt7b.h>

#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 32 // OLED display height, in pixels

volatile byte ledState = LOW;
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
int blah;
float turns;
int whole;
int fracts;
void setup() {
  pinMode(LED_PIN, OUTPUT);
  pinMode(BUTTON_PIN, INPUT);

  attachInterrupt(digitalPinToInterrupt(BUTTON_PIN), blinkLed, RISING);
  Serial.begin(115200);
  if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { 
    Serial.println("SSD1306 allocation failed");
    for(;;);
  }
  delay(200);
  
  display.setFont(&FreeMonoBold18pt7b);
  display.clearDisplay();
  display.setTextSize(1);             
  display.setTextColor(WHITE);        
  display.setCursor(0,30);
  display.display();      

}

void loop() {
  turns = blah / 360;
  display.clearDisplay();
  display.setCursor(0,30);
  display.print(turns,1);
  //display.setCursor(15,30);
  //display.println(".");
  //display.setCursor(30,30);
  //display.println(fracts);
  display.display();
}

void blinkLed() {
  blah = blah + 5;

  ledState = !ledState;
  digitalWrite(LED_PIN, ledState);
  
}

Any thoughts? Thanks.

use the dtostr() function to convert your floating point number to a string and then display that string

blh64:
use the dtostr() function to convert your floating point number to a string and then display that string

The floating point number that OP has is the result of dividing an int by an int, which produces an integer result.

OP: You need to divide blah (a stupid name, if you ask me) by 360.0 instead.