Float

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

EXAMPLE USAGES
SalesforceOpportunitiesQuery

List Opportunities on Salesforce, where the account has more then 10 employees.

REQUIRED BY
AdrollLogEvent

Represents a single log event.

AdrollLogItem

[WARNING] Log lines are intended for internal analysis and debugging. They are not available for external developers to consume.

Represents a single entry in the operation log for the query.

AirtableNumberField

No description

AirtableRecord

No description

AirtableRecordFieldArg

No description

ApolloAccountStage

No description

ApolloContact

No description

ApolloContactStage

No description

ApolloOrganization

No description

ApolloPerson

No description

ApolloSequence

No description

AsanaCustomField

Custom Fields store the metadata that is used in order to add user-specified information to tasks in Asana. Be sure to reference the Custom Fields developer documentation for more information about how custom fields relate to various resources in Asana.

ClearbitPersonGeo

Clearbit person geo

CrunchbaseAddress

No description

CrunchbaseFloatFilter

A filter to be used against Float fields. All fields are combined with a logical ‘and.’

CrunchbaseIpo

No description

DropboxGpsCoordinates

GpsCoordinates for a photo or video.

EventilEvent

Event type

FacebookBusinessHotel

No description

FacebookBusinessPage

No description

FacebookBusinessPlace

No description

FacebookBusinessPost

No description

FacebookBusinessUser

No description

FedexCommodity

No description

FedexDistance

No description

FedexMeasure

No description

FedexMoney

No description

FedexWeight

No description

GitHubCVSS

The Common Vulnerability Scoring System

GitHubEnterpriseBillingInfo

Enterprise billing information visible to enterprise billing managers and owners.

GitHubMilestone

Represents a Milestone object on a given repository.

GitHubProjectProgress

Project progress stats.

GoogleAdsAdGroup

No description

GoogleAdsMaximizeConversionValue

An automated bidding strategy which tries to maximize conversion value given a daily budget.

GoogleAdsTargetRoas

An automated bidding strategy that helps you maximize revenue while averaging a specific target return on ad spend (ROAS).

GoogleDriveFileImageMediaMetadata

Additional metadata about image media, if available.

GoogleDriveFileImageMediaMetadataLocation

Geographic location information stored in the image.

GoogleMapsElevation

No description

GoogleMapsLatLngArg

No description

GoogleSheetsColor

Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to/from color representations in various languages over compactness; for example, the fields of this representation can be trivially provided to the constructor of "java.awt.Color" in Java; it can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" method in iOS; and, with just a little work, it can be easily formatted into a CSS "rgba()" string in JavaScript, as well. Here are some examples:

Example (Java):

 import com.google.type.Color;

 // ...
 public static java.awt.Color fromProto(Color protocolor) {
   float alpha = protocolor.hasAlpha()
       ? protocolor.getAlpha().getValue()
       : 1.0;

   return new java.awt.Color(
       protocolor.getRed(),
       protocolor.getGreen(),
       protocolor.getBlue(),
       alpha);
 }

 public static Color toProto(java.awt.Color color) {
   float red = (float) color.getRed();
   float green = (float) color.getGreen();
   float blue = (float) color.getBlue();
   float denominator = 255.0;
   Color.Builder resultBuilder =
       Color
           .newBuilder()
           .setRed(red / denominator)
           .setGreen(green / denominator)
           .setBlue(blue / denominator);
   int alpha = color.getAlpha();
   if (alpha != 255) {
     result.setAlpha(
         FloatValue
             .newBuilder()
             .setValue(((float) alpha) / denominator)
             .build());
   }
   return resultBuilder.build();
 }
 // ...

Example (iOS / Obj-C):

 // ...
 static UIColor* fromProto(Color* protocolor) {
    float red = [protocolor red];
    float green = [protocolor green];
    float blue = [protocolor blue];
    FloatValue* alpha_wrapper = [protocolor alpha];
    float alpha = 1.0;
    if (alpha_wrapper != nil) {
      alpha = [alpha_wrapper value];
    }
    return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
 }

 static Color* toProto(UIColor* color) {
     CGFloat red, green, blue, alpha;
     if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {
       return nil;
     }
     Color* result = [[Color alloc] init];
     [result setRed:red];
     [result setGreen:green];
     [result setBlue:blue];
     if (alpha <= 0.9999) {
       [result setAlpha:floatWrapperWithValue(alpha)];
     }
     [result autorelease];
     return result;
}
// ...

Example (JavaScript):

// ...

var protoToCssColor = function(rgb_color) {
   var redFrac = rgb_color.red || 0.0;
   var greenFrac = rgb_color.green || 0.0;
   var blueFrac = rgb_color.blue || 0.0;
   var red = Math.floor(redFrac * 255);
   var green = Math.floor(greenFrac * 255);
   var blue = Math.floor(blueFrac * 255);

   if (!('alpha' in rgb_color)) {
      return rgbToCssColor_(red, green, blue);
   }

   var alphaFrac = rgb_color.alpha.value || 0.0;
   var rgbParams = [red, green, blue].join(',');
   return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
};

var rgbToCssColor_ = function(red, green, blue) {
  var rgbNumber = new Number((red << 16) | (green << 8) | blue);
  var hexString = rgbNumber.toString(16);
  var missingZeros = 6 - hexString.length;
  var resultBuilder = ['#'];
  for (var i = 0; i < missingZeros; i++) {
     resultBuilder.push('0');
  }
  resultBuilder.push(hexString);
  return resultBuilder.join('');
};

// ...
GoogleSheetsExtendedValue

The kinds of value that a cell in a spreadsheet can have.

GoogleSheetsHistogramChartSpec

A histogram chart. A histogram chart groups data items into bins, displaying each bin as a column of stacked items. Histograms are used to display the distribution of a dataset. Each column of items represents a range into which those items fall. The number of bins can be chosen automatically or specified explicitly.

GoogleSheetsHistogramRule

Allows you to organize the numeric values in a source data column into buckets of a constant size. All values from HistogramRule.start to HistogramRule.end are placed into groups of size HistogramRule.interval. In addition, all values below HistogramRule.start are placed in one group, and all values above HistogramRule.end are placed in another. Only HistogramRule.interval is required, though if HistogramRule.start and HistogramRule.end are both provided, HistogramRule.start must be less than HistogramRule.end. For example, a pivot table showing average purchase amount by age that has 50+ rows:

+-----+-------------------+
| Age | AVERAGE of Amount |
+-----+-------------------+
| 16  |            $27.13 |
| 17  |             $5.24 |
| 18  |            $20.15 |
...
+-----+-------------------+

could be turned into a pivot table that looks like the one below by applying a histogram group rule with a HistogramRule.start of 25, an HistogramRule.interval of 20, and an HistogramRule.end of 65.

+-------------+-------------------+
| Grouped Age | AVERAGE of Amount |
+-------------+-------------------+
| < 25        |            $19.34 |
| 25-45       |            $31.43 |
| 45-65       |            $35.87 |
| > 65        |            $27.55 |
+-------------+-------------------+
| Grand Total |            $29.12 |
+-------------+-------------------+
GoogleSheetsIterativeCalculationSettings

Settings to control how circular dependencies are resolved with iterative calculation.

____________________________________________________________________________________________________