About 50 results
Open links in new tab
  1. How to keep one variable constant with other one changing with row …

    207 Lets say I have one cell A1, which I want to keep constant in a calculation. For example, I want to calculate a value like this: =(B1+4)/(A1) How do I make it so that if I drag that cell to make a …

  2. Dynamic Constant Line in PowerBI Line Chart - Stack Overflow

    Mar 13, 2024 · 0 I have a line graph that I'm attempting to create a constant line that is based on a value that's in the chart. What I need is the value in [Sept 2023-5%=constant line]. The problem is the …

  3. How do I create a constant in Python? - Stack Overflow

    Apr 21, 2010 · How do I declare a constant in Python? In Java, we do: public static final String CONST_NAME = "Name";

  4. c - Constant pointer vs Pointer to constant - Stack Overflow

    Jan 31, 2014 · A constant pointer is a pointer that cannot change the address its holding. In other words, we can say that once a constant pointer points to a variable then it cannot point to any other variable.

  5. How to use the PI constant in C++ - Stack Overflow

    Nov 13, 2009 · I want to use the PI constant and trigonometric functions in some C++ program. I get the trigonometric functions with include <math.h>. However, there doesn't seem to be a definition for …

  6. c++ - What is the difference between const int*, const int * const, and ...

    Jul 17, 2009 · Exception, a starting const applies to what follows. const int* is the same as int const* and means "pointer to constant int". const int* const is the same as int const* const and means "constant …

  7. Is it possible to use std::string in a constant expression?

    Be aware that whenever you pass this constant to a function taking a const std::string& a new std::string has to be constructed. That is usually the opposite of what one had in mind when creating a constant.

  8. Excel: creating an array with n times a constant

    May 25, 2018 · I have been looking around for a while but unable to find an answer to my question. In Excel, what compact formula can I use to create an array made up of a single element repeated n …

  9. Math constant PI value in C - Stack Overflow

    Mar 28, 2012 · Calculating PI value is one of the complex problem and wikipedia talks about the approximations done for it and says it's difficult to calculate PI accurately. How does C calculate PI? …

  10. How to add a new column in r dataframe with a constant number?

    Mar 22, 2022 · With dplyr, you can use mutate and assign a constant number to a new variable. If you only provide one number (like 100 below), then each row will be filled in with that given number.