# Aerospike go client for float counters

**URL:** <https://discuss.aerospike.com/t/aerospike-go-client-for-float-counters/8869>\
**Category:** General Discussion\
**Created:** [September 30, 2021, 5:05pm UTC](https://discuss.aerospike.com/t/aerospike-go-client-for-float-counters/8869 "2021-09-30T17:05:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikumarkpz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/srikumarkpz/32/2141_2.png) [@srikumarkpz](https://discuss.aerospike.com/u/srikumarkpz)\
**Post date:** [September 30, 2021, 5:05pm UTC](https://discuss.aerospike.com/t/aerospike-go-client-for-float-counters/8869/1 "2021-09-30T17:05:29Z")

</div>

Currently using Aerospike version 4.9. Would like to know if this version supports the atomic increment of float values. Are there some sample codes out there I can look at as well ? (Using golang client)

---

<div class="post-metadata">

**Author:** ![neelp](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/neelp/32/1369_2.png) [@neelp](https://discuss.aerospike.com/u/neelp)\
**Post date:** [October 1, 2021, 5:33pm UTC](https://discuss.aerospike.com/t/aerospike-go-client-for-float-counters/8869/2 "2021-10-01T17:33:20Z")

</div>

You can find the example code for “add” operations [here](https://github.com/aerospike/aerospike-client-go/blob/master/examples/add/add.go). All single record requests are atomic, and I expect float increments to work in golang (as in other clients).

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/system/32/2274_2.png) [@system](https://discuss.aerospike.com/u/system)\
**Post date:** [October 1, 2022, 5:33pm UTC](https://discuss.aerospike.com/t/aerospike-go-client-for-float-counters/8869/3 "2022-10-01T17:33:50Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
