How can i update some attributes of my object?

I have a object with many attributes but i want to update only three of them
so far i am updating like this:

  local.primary = (local.primary).toFixed(3)
  local.second = local.second.toFixed(3)
  local.last =local.last.toFixed(3)

are there any better way?

69 thoughts on “How can i update some attributes of my object?”

Leave a Comment