class Playbook::PbDashboardValue::DashboardValue
def classname
def classname generate_classname("pb_dashboard_value_kit", align) end
def formatted_stat_value
def formatted_stat_value { **stat_value, value: sanitized_stat_value } end
def sanitized_stat_value
rubocop:disable Lint/FloatComparison
def sanitized_stat_value value = stat_value[:value] if value.is_a?(::String) value.to_f == value.to_i ? value.to_i : value.to_f else value end end