@Contract(value = "_, _ -> new", pure = true)
  static @NotNull TextComponent text(final float value, final @NotNull Style style) {
    return text(String.valueOf(value), style);
  }
Creates a text component with the content of {@link String#valueOf(float)} and styling.

@param value the float value
@param style the style
@return a text component
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/Component.java