<a id="adjustprecisionscale"></a>

# Kafka Connect AdjustPrecisionAndScale SMT Usage Reference for Confluent Cloud

The `AdjustPrecisionAndScale` Single Message Transformation (SMT) is used to validate and ensure that all decimal fields
in a Kafka Connect structure fall within a desired numerical range.
For example, it allows you to set a maximum precision and maximum scale, and optionally require a positive scale,
ensuring data integrity before it is written to a sink that has strict decimal requirements.

## Limitations

- For Sink connectors, the Schema Registry schema is not updated by the `AdjustPrecisionAndScale` SMT.
  Since transforms run after the converter saves the schema, the Schema Registry retains the original precision and scale values.

#### IMPORTANT
Confluent only supports this SMT on Confluent Cloud.
For complete details, see the official [AdjustPrecisionAndScale SMT](https://jcustenborder.github.io/kafka-connect-documentation/projects/kafka-connect-transform-common/transformations/AdjustPrecisionAndScale.html) documentation.
