#include <stdio.h>
#include <string.h>
#include <stdbool.h>
bool is_decimal_string(char* str) {
int len = strlen(str);
int dot_count = 0;
bool has_digit = false;
for (int i = 0; i < len; i++) {
char c = str[i];
if (c >= '0' && c <= '9') {
has_digit =